gdk_cursor_new_from_pixmap: Fix gdk_display_is_closed call
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 21 Feb 2011 00:44:35 +0000 (01:44 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 21 Feb 2011 01:11:13 +0000 (20:11 -0500)
This was typoed in commit dfe6ba932ca798c53121f90b7d696b5d2231a179
https://bugzilla.gnome.org/show_bug.cgi?id=642843

gdk/x11/gdkcursor-x11.c

index 6cc43a6808f4de5e4a1ee84972915a182d1ac006..2ad29b7650322a9a740206861751ede1d4ec5f43 100644 (file)
@@ -694,7 +694,7 @@ gdk_cursor_new_from_pixmap (GdkDisplay     *display,
   xbg.blue = bg->blue;
   xbg.green = bg->green;
   
-  if (gdk_display_is_closed (display->closed))
+  if (gdk_display_is_closed (display))
     xcursor = None;
   else
     xcursor = XCreatePixmapCursor (GDK_DISPLAY_XDISPLAY (display),